package com.zjj.entity;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

public class Card implements Serializable {


    @Serial
    private static final long serialVersionUID = 2810837602012032051L;
    private int id;
    private String sex;
    private String address;

    @Override
    public String toString() {
        return "Card{" +
                "id=" + id +
                ", sex='" + sex + '\'' +
                ", address='" + address + '\'' +
                ", fork='" + fork + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getFork() {
        return fork;
    }

    public void setFork(String fork) {
        this.fork = fork;
    }

    //名族
    private String fork;

    private List<User> userList;

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }
}
